import { http } from 'jindai-api'

const url = 'admin'

export const fetchLoginList = (params) => http.get(`${url}/login-logs`, { params })

export const fetchBehaviorList = (params) => http.get(`${url}/behavior-logs`, { params })

export const fetchRequestList = (params) => http.get(`${url}/request-logs`, { params })

export const fetchRequestView = (id) => http.get(`${url}/request-logs/${id}`)

export const fetchTaskList = (params) => http.get(`${url}/task-logs`, { params })

export const fetchQueueList = (params) => http.get(`${url}/queue-logs`, { params })
